Automattic\WCShipping\LabelPurchase\View B

Total Complexity 78
Dependencies 25
Dependents 3
Total lines 649
Lines of code 403
Logical lines of code 214
Comment lines 124
Methods 20
Properties 13

Methods 20

Method Rating Maintainability Complexity Lines of code
throw_error_or_show_order_meta_box()
A
44 11 48
get_selected_packages()
A
43 9 48
get_packaging_from_shipping_method()
A
53 8 26
get_item_data()
S
49 6 30
format_address_for_api()
S
60 6 12
get_stored_data()
S
47 4 36
get_all_items()
S
56 5 17
get_meta_boxes_payload()
S
42 2 57
meta_boxes()
S
54 4 21
get_selected_rates()
S
59 4 14
ensure_purchased_labels_have_shipment_ids()
S
60 4 14
is_order_dhl_express_eligible()
S
61 3 13
get_label_payload()
S
57 2 18
__construct()
S
57 1 18
get_packaging_metadata()
S
66 2 9
get_name()
S
67 2 8
filter_items_needing_shipping()
S
76 2 4
get_origin_address()
S
80 1 3
get_destination_address()
S
76 1 4
reducer_items_quantity()
S
80 1 3